package com.qqtech.qquan.community.dao;

import java.util.List;

import com.qqtech.core.frame.dao.BaseDao;
import com.qqtech.qquan.community.model.*;

public interface CommunityJoinDao extends BaseDao<CommunityJoin> {
	/**
	 * 左连接base表
	 * @param userId
	 * @return
	 */
	List<CommunityJoinVo> queryLeftBase(CommunityJoinQuery communityJoinQuery);
	/**
	 * 我加入的社区ids
	 * @param userId
	 * @return
	 */
	List<Integer> queryMyCommuntiyIds(Integer userId);
	
	/**
	 * 只获取社区ids
	 * @param communityJoinQuery
	 * @return
	 */
	List<Integer> queryCommuntiyIds(CommunityJoinQuery communityJoinQuery);
}
